package io.coderyeah.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.coderyeah.basic.Result;
import io.coderyeah.user.domain.User;
import io.coderyeah.user.dto.UserDTO;

import javax.mail.MessagingException;

/**
 * @author coderyeah
 * @description 针对表【t_user】的数据库操作Service
 * @createDate 2022-09-14 15:09:01
 */
public interface UserService extends IService<User> {

    Result register(UserDTO userDTO) throws MessagingException;

    Result active(String id);

    void registerByPhone(UserDTO userDTO);
}
